<?
class LogAction{
	
	public $smarty;
	public $model;
	//构造方法，初始化 
	public function __construct(&$_smarty,&$_model) {
		$this->smarty = $_smarty;
		$this->model = $_model;

	}
	
	public function action(){

        $this->smarty->assign('userList', $this->model->getUserNamePhoneLikeCount());
		$this->smarty->assign('userTotal',$this->model->getUserTotal());
        $this->smarty->assign('surplusUserTotal',$this->model->getSurplusUserTotal());
        $this->smarty->assign('likeTotal',$this->model->getLikeTotal());
        $this->smarty->assign('noRepeatLikeTotal',$this->model->getNoRepeatLikeTotal());
		$this->smarty->display('templates/admin_log.tpl');
	}
	
	
}